搜索资源列表
houzhui
- 中缀表达式转换为后缀表达式并求值 使用switch语句-Infix expression into a suffix for the value of expression and the use of switch statement
zhongzhuizhuanhouzhui
- 使用链表数据结构算法,将中缀表达式转变为后缀表达式。-The use of linked list data structure algorithms, will be made up of expressions into expressions suffix.
convert
- 将由数字和四则运算符组成的后缀表达式变换为中缀表达式。输入的后缀表达式包含的运算符不超过15个。要求转换后的中缀表达式中不应出现不必要的括号。例如,整个表达式两端的括号要省略,不影响原计算顺序的括号要省略。-Will be 4 numbers and the composition of the suffix operator expressions transform infix expression to. Enter the suffix operator expression does
Stack
- 栈的定义,C++定义的栈的基本操作 用于栈的操作练习 表达式求值,中缀转后缀-Stack
expression
- 此代码主要功能是用堆栈来实现数学表达式的解析功能,从中缀表达式来得到后缀表达式-these code use stack for describe mathematical expression
calculator
- 用栈实现简单计算器功能。中缀转后缀表达式-Simple calculator using stack functions. Expression infix to suffix
Functions
- 运算表达式的计算,c编写,首先将中缀表达式转换为后缀表达式,再用栈将结果输出-Calculation of computing the expression, c preparation, the first expression will be converted to infix suffix expressions, and then stack the results output
expressions
- 数据结构线性表的应用,算术表达式求值,中缀转后缀算法,加减乘除基本运算-The application of the linear table data structure, arithmetic expression evaluation, infix suffix transfer algorithm, the basic operations addition and subtraction multiplication and division
main
- 实现将一个表达式转成前缀,中缀和后缀的3种形式,并计算表达式的值,其中数字为浮点型-Achieve an expression is converted into prefix, infix, and suffix of the three kinds of forms, and calculate the value of the expression, in which figures are floating-point type
exchange_perfix
- 中缀表达式 后缀表达式:不包含括号,运算符放在两个运算对象的后面,所有的计算按运算符出现的顺序,严格从左向右进行-Infix expression postfix expression: does not contain parentheses, operator on two operands in the back, all the calculations appear in the order according to operator, strictly from left to ri
SuffixTest
- java中实现中缀转后缀表达式的求解算法-Midfix turn subfix expression
stack_and_queue
- 以字符序列的形式从终端输入语法正确的、不含变量的整数表达式,利用给定的算符优先关系把中缀表达式转换成计算机容易处理的后缀表达式。本实验中操作数规定为1位数字字符,运算符只有+、-、*、/。-In the form of a sequence of characters entered from the terminal grammatically correct, non-integer variable expression, using the given operator preceden
biaodashiqiuzhi
- 通过该程序可以计算前缀、中缀和后缀表达式的值。-Through the program can calculate the prefix, infix and postfix expressions value.
zhongzhui
- 本程序能将运算式从中缀表达式转换为后缀表达式,并计算运算式的值。暂时仅可计算正整数之间的运算。暂时无法处理负数,要计算负数请用 (0-n) 的形式。输入仅含数字0~9及+、-、*、/、(、)的式子,并在结尾处加 # 字作为结束符。-This program can convert an expression from infix expressions to postfix expressions, and calculate the expression value. Calculate th
src
- Java版运算表达式解析器 主要功能: 对有括号的四则运算解析并求解. 支持多种表达式类型 思路: 1.把中缀表达式转化成后缀表达式 2.从后缀表达式得到解 注意: 该版本只支持1.6JDK,如果想替换成1.5JDK改替换LinkedList的几个方法就行了. 详细内容: http://jomper.javaeye.com/blog/464906-Java version of computing expressions parser mai
XReversePolishNotation
- Visual C++ 6 编写的控制台程序,开程序接受一个以#结尾的中缀表达式(如a+(b*d)#),输出对应的后缀(逆波兰)表达式-Visual C++ 6 console program written in, open process to accept a# at the end of infix expression (such as a+ (b* d)#), output of the corresponding suffix (reverse Polish) expression
zhongzhui
- 中缀表达式,可以将中缀转换为后缀,并且计算四则运算式-zhongzhui
Infix_expression
- 编写一程序直接计算任意输入的中缀表达式的值,且不能采用先转换到后缀表达式再计算的方式。-Procedures for the preparation of a direct calculation of arbitrary input infix expression values, and can not be converted to a postfix expression using the first re-calculated way.
exchange
- (1)实现中缀表达式转换成后缀表达式 (2)计算表达式的值 -(1) implementation infix expression into postfix expression (2) Calculate the value of the expression
Expressionevaluation
- 表达式求值,有后缀表达式求值,中缀表达式直接求值,和中缀表达式间接求值-Expression evaluation, expression evaluation have the suffix, infix expression evaluation directly and indirectly infix expression evaluation